using UnityEngine;
using UnityEngine.UI;

public class UIGameOver : UIPage
{
    [SerializeField] GameObject panelObject;

    public override void Init()
    {
        base.Init();

        // DO INIT
    }

    public override void Hide()
    {
        HideImmediately();
    }

    public override void HideImmediately()
    {
        canvas.enabled = false;
        isPageDisplayed = false;
    }

    public override void Show()
    {
        ShowImmediately();
    }

    public override void ShowImmediately()
    {
        if (isPageDisplayed)
            return;

        isPageDisplayed = true;
        canvas.enabled = true;
    }
}
